﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Model.Entities;
using Model.ViewModels;

namespace Model.RepositoryInterfaces
{
    public interface IApartmentRepository
    {
        void Create(Apartment apartment);
        Apartment Read(int apartmentId);
        ApartmentDetailsVm ReadDetails(int apartmentId);
        IList<ApartmentListAdminVm> ReadAll();
        IList<ApartmentsGraphicsVm> ReadGraphics();
        IList<ApartmentListAdminVm> ReadByCode(string code);
        IList<ApartmentListAdminVm> ReadByModel(string model);
        void Update(Apartment apartment);
        void Delete(int apartmentId);
    }
}
